package cn.com.shopec.erp.financing.entity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "TBL_SUPPLIER_SETTLEMENT_DETAIL")
public class SupplierSettlementDetail implements java.io.Serializable {

	private static final long serialVersionUID = 7870757462325483815L;
	/** 主键ID **/
	private String id;
	/** 结算单据号 **/
	private String settlementNo;
	/** 采购单号 **/
	private String poNo;
	/** 采购单类型 1:采购单号 2:采购单退单号 **/
	private Integer poType;

	public SupplierSettlementDetail() {
	}

	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false, length = 32)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "settlement_no")
	public String getSettlementNo() {
		return settlementNo;
	}

	public void setSettlementNo(String settlementNo) {
		this.settlementNo = settlementNo;
	}

	@Column(name = "po_no")
	public String getPoNo() {
		return poNo;
	}

	public void setPoNo(String poNo) {
		this.poNo = poNo;
	}

	@Column(name = "po_type")
	public Integer getPoType() {
		return poType;
	}

	public void setPoType(Integer poType) {
		this.poType = poType;
	}

}